diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-07-14 21:55:06 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-07-14 21:55:06 +0100 |
| commit | c68c9a8f05e840292d39917df9fa32d9e166edc9 (patch) | |
| tree | c57ec156fef2e119e9d362126be8ef6936d15680 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 1a7c4eba61bd9c055c2e3e19fffbae10b5317197 (diff) | |
Update serialisation of LLVM code gen context in tests
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 9 insertions, 5 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 7d50a817..0d323497 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -2,9 +2,13 @@ Stack: * %tmp__0 * %a -Module: +Instructions: + +%tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) + +Top-level entities: + declare i64 @shed__runtime__string_add(i64 %left, i64 %right) -define void @f() { - %tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) - ret void -} + +Shed locals: + |
